PI Manager uses ocpn-plugins.xml to provide the required metadata and URLs for installation of plugins.
Ocpn-plugins.xml and associated metadata files are located in https://github.com/OpenCPN/plugins/
Batch files and scripts are available to help create this file ocpn-plugins.xml is created from the individual plugin metadata files located in the data directory.
Please review the Readme file.
In summary
The scripts require Python
Recording for documentation. using Alpha channel.
git clone https://github.com/[Your Git Name]/OpenCPN/plugins.gitgit checkout Alpha to go to the Alpha branch.git checkout -b [your-name-or-plugin]-alpha which will contain your testing metadata.xml's.git checkout Alpha to create your own META-URL xml file.metadata directory create and add to the other xml files, a new file with a meta-data redirect to your [your-name-or-plugin]-alpha branch. Example follows:[github user]/plugins/Alpha/meta-url-alpha-seandepagnier-rgleason.xml<?xml version="1.0" encoding="UTF-8"?>
<opencpn-plugin version="1">
<name> Sean Depagnier Alpha Plugins meta-url </name>
<version> 1.0 </version>
<summary> meta-url to Sean's Alpha Plugins by rgleason </summary>
<meta-url> https://raw.githubusercontent.com/rgleason/plugins/rg-alpha/ocpn-plugins.xml </meta-url>
</opencpn-plugin>
python tools/ocpn-metadata generate –force –userdir metadata –destfile ocpn-plugins.xml [github user]/plugins branch:[your name or plugin]-alpha now needs to be populated with metadata xmls from your Cloudsmith directory. In my case it is github.com/rgleason/OpenCPN/plugins/rg-alpha github.com/rgleason/OpenCPN/plugins/rg-alpha/metadata python tools/ocpn-metadata generate –force –userdir metadata –destfile ocpn-plugins.xml #19 Pull Request from opencpn/plugins/rgleason:rg-alpha to opencpn/plugins:Alpha
Also here is another example with squiddio